package cn.dada.dadarecipes.user.order.pojo.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AccessLevel;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@FieldDefaults(level = AccessLevel.PRIVATE)
public class MerchantOrderUpdateParam {
    @ApiModelProperty(value = "商家id")
    @NotNull(message = "商家id不能为空")
    Long businessId;
    @ApiModelProperty(value = "订单id")
    @NotNull(message = "订单id不能为空")
    Long id;
    @ApiModelProperty(value = "店铺id")
    @NotNull(message = "店铺id不能为空")
    Long shopId;
    @ApiModelProperty(value = "订单状态")
    @NotBlank(message = "订单状态不能为空")
    String orderStatus;
    @ApiModelProperty(value = "物流状态")
    String shippingStatus;
}
